package kr.hkit.powerjava.chapter12.poly;

class OuterClass{
	private String secret = "Time is money";
	
	public OuterClass(){
		InnerClass obj = new InnerClass();
		obj.print();
	}


	private class InnerClass{
		public InnerClass(){
			System.out.println("내부 클래스 생성자 입니다");
		}
		public void print(){
			System.out.println(secret);
		}
	}
}
public class OuterClassTest {
	public static void main(String[] args) {
		new OuterClass();
	}
}
